home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / RAVE DDK 1.0.6 GM for MacOS / Projects / Empty Engine Code / TtLine.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-30  |  1.2 KB  |  38 lines  |  [TEXT/MPCC]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        TtLine.c                                                 **
  4.  **                                                                          **
  5.  **     Purpose:     Empty rasterizer drawing engine.                         **
  6.  **                 Methods for drawing lines.                                 **
  7.  **                                                                          **
  8.  **     Author:        Mike Kelley                                                 **
  9.  **                                                                          **
  10.  **                    2/3/95    Revised for 0.9 SDK release                         **
  11.  **                                                                          **
  12.  **     Copyright (C) 1994-95 Apple Computer, Inc.  All rights reserved.     **
  13.  **     Apple Computer Confidential                                             **
  14.  **                                                                          **
  15.  *****************************************************************************/
  16.  
  17. /* System */
  18. #include <stdlib.h>
  19. #include <math.h>
  20.  
  21. #include "Drive3D.h"
  22. #include "Drive3D_system.h"
  23. #include "TtTinselTown.h"
  24.  
  25. /************************************************************************************************
  26.  * Draw a line.
  27.  ***********************************************************************************************/
  28.  
  29. void TtDrawLine (
  30.     const TQADrawContext    *drawContext,        /* Draw context */
  31.     const TQAVGouraud     *v0,                /* Vertex 0 */
  32.     const TQAVGouraud     *v1)                /* Vertex 1 */
  33. {
  34.     TTtDrawPrivate        *myPrivate;
  35.     
  36.     myPrivate = (TTtDrawPrivate *) drawContext->drawPrivate;
  37. }
  38.